﻿using Newtonsoft.Json;
using SqlSugar;

namespace AnyLink.Domain.Entities.Auditing
{
    public class HasCreateTime : IHasCreateTime
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time", IsNullable = true, IsOnlyIgnoreUpdate = true)]
        [JsonProperty(propertyName: "createTime")]
        public virtual DateTime? CreateTime { get; set; } = DateTime.Now;
    }
}
